package com.afkx.oop.demo8;

/**
 * @ClassName 铁门
 * @Description TODO
 * @Author Kx
 * @Date 2025/3/4 13:32
 * @Version 1.0
 */
public class IronDoor extends Door{
    public IronDoor(String name) {
        super(name);
    }

    @Override
    public void open() {
        System.out.println("铁门打开");
    }

    @Override
    public void close() {
        System.out.println("铁门关闭");
    }
}
